import request from '@/api/index.js'

//App用户全部订单
export const allOrderListAPI = (data) => {
	return request({
		url: '/applet/reception/appletUser/order/selectAllOrderListByUserId',
		method: 'post',
		data 
	})
}

// App用户订单的详情
export const orderDetailsAPI = (orderId) => {
	return request({
		url: `/applet/reception/appletUser/order/selectOrderDetailByOrderId/${orderId}`
	})
}

// App用户订单/待付款/代签收/待发货
export const orderListAPI = (data) => {
	return request({
		url: '/applet//reception/appletUser/order/selectOrderListByUserId',
		method: 'post',
		data 
	})
}